package com.dsp.services.impl;


import java.io.Serializable;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.core.util.GenericDAO;
import com.core.util.GenericServiceHibernate;
import com.dsp.bean.Jms;
import com.dsp.dao.JmsDAO;
import com.dsp.services.JmsService;

@Service(value = "jmsService")
public class JmsServiceImpl extends GenericServiceHibernate<Jms, Long> implements JmsService {

	private JmsDAO jmsDAO;
	
	@Resource(name = "jmsDAO")
	public void setDao(GenericDAO<Jms, Serializable> dao){
		super.setDao(dao);
	}

	/**
	 * @return the jmsDAO
	 */
	public JmsDAO getJmsDAO() {
		return jmsDAO;
	}

	/**
	 * @param jmsDAO the jmsDAO to set
	 */
	public void setJmsDAO(JmsDAO jmsDAO) {
		this.jmsDAO = jmsDAO;
	}
}
